﻿<?xml version="1.0" encoding="utf-8"?>
<ScintillaNET>
	<Language Name="mysql">
		<Lexer LineCommentPrefix="#" StreamCommentPrefix="/* " StreamCommentSuffix=" /*" >
			<Properties>
				<Property Name="fold.comment" Value="1" />
				<Property Name="lexer.sql.numbersign.comment" Value="1"/>
			</Properties>
			<Keywords List="0">
				alter analyze
				backup begin binlog
				cache call change check checksum commit create
				deallocate delete desc describe do drop
				execute explain
				flash flush
				grant
				handler help
				insert install
				kill
				load lock
				optimize
				partition prepare purge
				release remove rename repair replace reset restore revoke rollback
				savepoint select set show start stop
				truncate
				uninstall unlock update use
				xa
			</Keywords>
			<Keywords List="1">
				accessible action add after against aggregate algorithm all and any as asc asensitive at authors auto_increment autoextend_size avg avg_row_length
				backup bdb before berkeleydb between bigint binary bit blob block bool boolean both btree by byte
				cascade cascaded case catalog_name chain changed char character charset cipher class_origin client close code collate collation column column_name columns committed compact completion compressed concurrent condition connection consistent constraint constraint_catalog constraint_name constraint_schema contains context continue contributors convert cpu cross cube current current_date current_time current_timestamp current_user cursor cursor_name
				data database databases datafile date datetime day day_hour day_microsecond day_minute day_second dec decimal declare default default_auth definer delay_key_write delayed des_key_file deterministic diagnostics directory disable discard disk distinct distinctrow div double dual dumpfile duplicate dynamic
				each else elseif enable enclosed ends engine engines enum error errors escape escaped event events every exchange exists exit expansion extended extent_size
				false fast faults fetch fields file first fixed float float4 float8 for force foreign format found frac_second from full fulltext function
				general geometry geometrycollection get get_format global goto grants group
				hash having high_priority host hosts hour hour_microsecond hour_minute hour_second
				identified if ignore ignore_server_ids import in index indexes infile initial_size inner innobase innodb inout insensitive insert_method int int1 int2 int3 int4 int8 integer interval into invoker io io_after_gtids io_before_gtids io_thread ipc is isolation issuer iterate
				join
				key key_block_size keys
				label language last leading leave leaves left less level like limit linear lines linestring list local localtime localtimestamp locks logfile logs long longblob longtext loop low_priority
				master master_auto_position master_bind master_connect_retry master_delay master_heartbeat_period master_host master_log_file master_log_pos master_password master_port master_retry_count master_server_id master_ssl master_ssl_ca master_ssl_capath master_ssl_cert master_ssl_cipher master_ssl_crl master_ssl_crlpath master_ssl_key master_ssl_verify_server_cert master_user match max_connections_per_hour max_queries_per_hour max_rows max_size max_updates_per_hour max_user_connections maxvalue medium mediumblob mediumint mediumtext memory merge message_text microsecond middleint migrate min_rows minute minute_microsecond minute_second mod mode modifies modify month multilinestring multipoint multipolygon mutex mysql_errno
				name names national natural nchar ndb ndbcluster new next no no_wait no_write_to_binlog nodegroup none not null number numeric nvarchar
				offset on one one_shot only open option optionally options or order out outer outfile owner
				pack_keys page parser partial partitioning partitions password phase plugin plugin_dir plugins point polygon port precision preserve prev primary privileges procedure process processlist profile profiles proxy
				query quick
				raid_chunks raid_chunksize raid_type raid0 range read read_only read_write reads real rebuild recover redo_buffer_size redofile redundant references regexp relay relay_log_file relay_log_pos relay_thread relaylog reload remove reorganize repeat repeatable replication require resignal restore restrict resume return returned_sqlstate returns right rlike rollup routine row row_count row_format rows rtree
				schedule schema schema_name schemas second second_microsecond security sensitive separator serial serializable server session share shutdown signal signed simple slave slow smallint snapshot socket some soname sounds source spatial specific sql sql_after_gtids sql_before_gtids sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sql_thread sql_tsi_day sql_tsi_frac_second sql_tsi_hour sql_tsi_minute sql_tsi_month sql_tsi_quarter sql_tsi_second sql_tsi_week sql_tsi_year sqlexception sqlstate sqlwarning ssl starting starts status storage straight_join string striped subclass_origin subject subpartition subpartitions super suspend swaps switches
				table table_checksum table_name tables tablespace temporary temptable terminated text than then time timestamp timestampadd timestampdiff tinyblob tinyint tinytext to trailing transaction trigger triggers true type types
				uncommitted undefined undo undo_buffer_size undofile unicode union unique unknown unsigned until upgrade usage use use_frm user_resources using utc_date utc_time utc_timestamp
				value values varbinary varchar varcharacter variables varying view
				wait warnings weight_string when where while with work wrapper write
				x509 xml xor
				year year_month
				zerofill
			</Keywords>
			<Keywords List="2"></Keywords>
			<Keywords List="3">
				abs acos adddate aes_decrypt aes_encrypt ascii asin atan atan2
				benchmark bin bit_and bit_count bit_length bit_or
				cast ceil ceiling char_length character_length coalesce concat concat_ws connection_id conv convert cos cot count curdate current_user curtime
				date_add date_format date_sub dayname dayofmonth dayofweek dayofyear decode degrees des_decrypt des_encrypt
				elt encode encrypt exp export_set extract
				field find_in_set floor format found_rows from_days from_unixtime
				get_lock greatest group_concat group_unique_users
				hex
				ifnull inet_aton inet_ntoa instr is_free_lock isnull
				last_insert_id lcase least length ln load_file locate log log10 log2 lower lpad ltrim
				make_set master_pos_wait max md5 mid min mod monthname
				now nullif
				oct octet_length old_password ord
				period_add period_diff pi position pow power
				quarter quote
				radians rand release_lock repeat reverse round rpad rtrim
				sec_to_time session_user sha sha1 sign sin soundex space sqrt std stddev strcmp subdate substring substring_index sum sysdate system_user
				tan time_format time_to_sec to_days trim
				ucase unique_users unix_timestamp upper user
				version
				week weekday
				yearweek
			</Keywords>
			<Keywords List="4"></Keywords>
			<Keywords List="5">
				begin end comment
			</Keywords>
			<Keywords List="6">
				delimiter
			</Keywords>
			<keywords List="7">
				binary case cast convert exists interval match not row
			</keywords>
			<Keywords List="8">
				all and any between escape false in is like or regexp sounds true unknown xor
			</Keywords>
		</Lexer>
		<Styles>
			<Style Name="DOCUMENT_DEFAULT"  />
			<Style Name="MAJORKEYWORD"	ForeColor="#007FBF" Bold="True"/>
			<Style Name="KEYWORD" ForeColor="#007FBF" Bold="True"/>
			<Style Name="FUNCTION" ForeColor="#ff00ff" />
			<Style Name="SYSTEMVARIABLE" ForeColor="#A58E37"/>
			<Style Name="PROCEDUREKEYWORD" ForeColor="#C04000" Bold="True"/>
			<Style Name="USER1" ForeColor="#007F00" />
			<Style Name="USER2" ForeColor="Blue" />
			<Style Name="USER3" ForeColor="Blue" />
			<Style Name="COMMENT" ForeColor="#A0A0A0"/>
			<Style Name="COMMENTLINE" ForeColor="#A0A0A0"/>
			<Style Name="VARIABLE" ForeColor="#A58E37"/>			
			<Style Name="KNOWNSYSTEMVARIABLE" ForeColor="#A58E37"/>
			<Style Name="NUMBER" ForeColor="#F0A030"/>
			<Style Name="SQSTRING" ForeColor="#209F20"/>
			<Style Name="DQSTRING" ForeColor="#6D4A27"/>
			<Style Name="IDENTIFIER" ForeColor="#000000"/>
			<Style Name="QUOTEDIDENTIFIER" ForeColor="#7D5A27"/>
		</Styles>
	</Language>
</ScintillaNET>